package com.wzx.user.business.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzx.user.pojo.shop.pojo.ShopAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author wzx
 * @version 1.0
 * @date 2022/9/7 - 14:41
 * @description 标题
 */
@Mapper
public interface ShopAddressMapper extends BaseMapper<ShopAddress> {
    void updateIsDefault(Integer userId);

    void updateIsDefaultTrue(Integer addressId);

    List<ShopAddress> getShopAddress(ShopAddress shopAddress);
}
